#include "EpollSever.hpp"
#include <string>
#include <memory>

void Usg(char *argv[])
{
    std::cout << argv[0] << " + " << "port" << std::endl;
}

int main(int args, char *argv[])
{
    if (args != 2)
    {
        Usg(argv);
    }
    uint32_t port = atoi(argv[1]);
    std::unique_ptr<EpollSever> server = std::make_unique<EpollSever>(port);
    server->loop();
    return 0;
}